package com.wyh.lotterysystem.service.dto;

import lombok.Data;

import java.util.List;

@Data
public class PageDTO<T> {
    Integer total;
    List<T> record;

    public PageDTO(Integer total, List<T> record) {
        this.total = total;
        this.record = record;
    }
}
